<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>

<script type="text/javascript" src="<%=request.getContextPath()%>/plugin/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/dwr/interface/fileUploader.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/dwr/engine.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/dwr/util.js"></script>

<script type="text/javascript">
	CKEDITOR.replace('ckeditor', {
		language : 'zh-cn',   
	    skin : 'kama',   
	    width : 1000,    
	    height : 300,
	    extraPlugins : 'insimg',
	    contentsCss : '../../css/black/style.css',
	    toolbar : 
	    [
	    	['Cut','Copy','Paste','PasteText','PasteFromWord'],
	    	['Undo','Redo'],
	    	['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
	    	['Find','Replace'],
	    	['Table','RemoveFormat','Source'],
	    	'/',
	    	['Bold','Italic','Underline'],
	    	['Font','FontSize','TextColor','BGColor'],
	    	['Link','Unlink'],
	    	['Smiley','InsertImage']
	    ] 
	});
	// CKEDITOR.config.contentCss = '../css/black/style.css';
	// CKEDITOR.replace('ckeditor');
</script>